import type { User } from '@/services/generated/models';

export interface Group {
  id: number;
  name: string;
  permissions: number[];
}

export interface UserDetail extends Omit<User, 'groups'> {
  groups: Group[];
  permissions: string[];
  is_superuser: boolean;
  last_login: string;
  date_joined: string;
}
